package com.hxf.service.version.impl;

import com.hxf.dto.VersionDto;
import com.hxf.exception.DaoLevelException;
import com.hxf.exception.ServiceException;
import com.hxf.service.base.impl.BaseServiceImpl;
import com.hxf.service.version.VersionService;

public class VersionServiceImpl extends BaseServiceImpl implements VersionService {

	@Override
	public VersionDto findVersionDto() throws ServiceException {
		try {
			return super.daoFacade.getVersionDao().findVersionDto();
		} catch (DaoLevelException e) {
			throw new ServiceException(e.getMessage(), e);
		}
	}

}
